Valid for Sitecore
5.2, 5.1.1
Dynamically Bind a Rendering to a Placeholder
Prev Next |
To dynamically bind an XSL Rendering to a Placeholder in a containing Layout or Sublayout:
- First determine the key of the Placeholder into which the Rendering will fall. This Placeholder may be in the Layout or any of the Sublayouts that are statically bound to that Layout or dynamically bound to Placeholders in that Layout.
- If the Rendering is to be added for all Items based on a given Template, open that Template in Template Manager; otherwise open the Item to which that Rendering is to be added in Content Editor.
- In the Layout section, select the link at the top of the Device to affect.
- If the value of the Layout property is empty or the appropriate Sublayouts are not already listed, select the Layout that should be applied to this Item or all Items associated with this Template and/or add any missing Sublayouts.
- Add the Rendering, setting the Placeholder property to the Placeholder key into which the Rendering should fall.
- Changes made to Templates which are inherited to Items will not be visible in the published environment until a full publication has been performed.
Prev Next